home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_perl.idb / usr / freeware / catman / p_man / cat3 / base.Z / base
Encoding:
Text File  |  1998-10-28  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      bbbbaaaasssseeee((((3333))))         22223333////JJJJuuuullll////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhh 00002222))))           bbbbaaaasssseeee((((3333))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       base - Establish IS-A    relationship with base class at
  10.       compile time
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           package Baz;
  14.           use base qw(Foo Bar);
  15.  
  16.  
  17.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.       Roughly similar in effect to
  19.  
  20.           BEGIN {
  21.           require Foo;
  22.           require Bar;
  23.           push @ISA, qw(Foo Bar);
  24.           }
  25.  
  26.       Will also initialize the %FIELDS hash    if one of the base
  27.       classes has it.  Multiple inheritance    of %FIELDS is not
  28.       supported.  The 'base' pragma    will croak if multiple base
  29.       classes has a    %FIELDS    hash.  See the _f_i_e_l_d_s manpage for a
  30.       description of this feature.
  31.  
  32.       When strict 'vars' is    in scope _b_a_s_e also let you assign to
  33.       @ISA without having to declare @ISA with the 'vars' pragma
  34.       first.
  35.  
  36.       This module was introduced with Perl 5.004_04.
  37.  
  38.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.       the _f_i_e_l_d_s manpage
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 10/23/98)
  64.  
  65.  
  66.  
  67.